<?php /* Smarty version Smarty-3.1.8, created on 2014-07-14 14:54:46
         compiled from "C:\wamp\www\framework\calidad\views\catalogo\index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:672453bd5d78ccd276-05887491%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'cd2817a5b9c8d50d8358fe6370967a71cb3bd9eb' => 
    array (
      0 => 'C:\\wamp\\www\\framework\\calidad\\views\\catalogo\\index.tpl',
      1 => 1405349683,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '672453bd5d78ccd276-05887491',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_53bd5d78cce8f0_08493232',
  'variables' => 
  array (
    'clientes' => 0,
    'cliente' => 0,
    'producto' => 0,
    'dimencion' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_53bd5d78cce8f0_08493232')) {function content_53bd5d78cce8f0_08493232($_smarty_tpl) {?><strong>Agregar:</strong> <a class="agregar" href="catalogo/nuevo/Clientes">Cliente</a> <a class="agregar" href="catalogo/nuevo/Partes">Producto</a> <a class="agregar" href="catalogo/nuevo/Dimensiones">Medida</a> <a class="agregar" href="catalogo/nuevo/Inspecciones">Inspeccion</a>
<?php  $_smarty_tpl->tpl_vars['cliente'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cliente']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['clientes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cliente']->key => $_smarty_tpl->tpl_vars['cliente']->value){
$_smarty_tpl->tpl_vars['cliente']->_loop = true;
?>
<hr />
<h2><a href="catalogo/editar/Clientes/<?php echo $_smarty_tpl->tpl_vars['cliente']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['cliente']->value['cliente'];?>
</a> <a href="#"><span onclick="ocultar_mostrar('#cliente<?php echo $_smarty_tpl->tpl_vars['cliente']->value['id'];?>
'); return false;" id="cliente<?php echo $_smarty_tpl->tpl_vars['cliente']->value['id'];?>
_signo">[+]</span></a></h2>
<hr />
<div id="cliente<?php echo $_smarty_tpl->tpl_vars['cliente']->value['id'];?>
" style="display: none;">
<table>
    <?php  $_smarty_tpl->tpl_vars['producto'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['producto']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['cliente']->value['productos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['producto']->key => $_smarty_tpl->tpl_vars['producto']->value){
$_smarty_tpl->tpl_vars['producto']->_loop = true;
?>
    <tr>
        <th class="izq" colspan="9"><a href="#"><?php echo $_smarty_tpl->tpl_vars['producto']->value['no_parte'];?>
</a> </th>
    </tr>
    <tr>
        <th rowspan="2">Nombre</th>
        <th rowspan="2">Operacion</th>
        <th colspan="3">Dimension</th>
        <th rowspan="2">Atributo</th>
        <th rowspan="2">Final</th>
        <th rowspan="2"></th>
    </tr>
    <tr>
        <th>Nominal</th>
        <th>Minima</th>
        <th>Maxima</th>
    </tr>
        <?php  $_smarty_tpl->tpl_vars['dimencion'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dimencion']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['producto']->value['dimensiones']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dimencion']->key => $_smarty_tpl->tpl_vars['dimencion']->value){
$_smarty_tpl->tpl_vars['dimencion']->_loop = true;
?>
        <tr>
            <td class="izq"><?php echo $_smarty_tpl->tpl_vars['dimencion']->value['nombre'];?>
</td>
            <td class="cen"><?php echo $_smarty_tpl->tpl_vars['dimencion']->value['operacion'];?>
</td>
            <td class="cen"><?php echo $_smarty_tpl->tpl_vars['dimencion']->value['val_nominal'];?>
</td>
            <td class="cen"><?php echo $_smarty_tpl->tpl_vars['dimencion']->value['tol_min'];?>
</td>
            <td class="cen"><?php echo $_smarty_tpl->tpl_vars['dimencion']->value['tol_max'];?>
</td>
            <td class="cen"><?php echo $_smarty_tpl->tpl_vars['dimencion']->value['atributo'];?>
</td>
            <td class="cen"><?php echo $_smarty_tpl->tpl_vars['dimencion']->value['final'];?>
</td>
            <td><a class="agregar">Editar</a><a class="eliminar">Eliminar</a></td>
        </tr>
        <?php } ?>
    <?php } ?>
</table>
</div>
<?php } ?><?php }} ?>